<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<div id="adSearchDiv">
  <div class="box">
  <div class="nav">
    <ul>
      <li><a href="javascript:void(0)" ${type == "1" ? "class='cur'" : ""}>项目信息</a></li>
      <li><a href="javascript:void(0)" ${type == "2" ? "class='cur'" : ""}>企业信息</a></li>
      <li><a href="javascript:void(0)" ${type == "3" ? "class='cur'" : ""}>人员信息</a></li>
      <li><a href="javascript:void(0)" ${type == "4" ? "class='cur'" : ""}>行为信息</a></li>
    </ul>
  </div>
  <div class="container">
  <div class='sub-con${type == "1" ? " cur-sub-con" : ""}'>
  		<form method="post" action="<%=request.getContextPath()%>/info/adSearchPro/${id}">
		<table style="text-align: center">
			<tr style="height: 30px">
				<td width="150px">项目名称:</td>
				<td colspan="3" width="400px" align="left"><input type="text" size="48" name="proName" value="${proName}"/></td>
			</tr>
			<tr style="height: 30px">
				<td width="150px">项目编码:</td>
				<td colspan="3" align="left"><input type="text" size="48" name="proCode" value="${proCode}"/></td>
			</tr>
			<tr style="height: 30px">
				<td width="150px">项目业主:</td>
				<td colspan="3" align="left"><input type="text" size="48" name="proOwener" value="${proOwener}"/></td>
			</tr>
			<tr style="height: 30px">
				<td width="150px">发布部门:</td>
				<td align="left" colspan="3">
		            <select name="proCity" id="proCity" onchange="proGetVillageNameAndDep()">
						<option value=''>--市、州--</option>
						<option value='510000'>省级</option>
		        	</select>
		        	<select name="proVillage" id="proVillage" onchange="proGetVillageDep()" style="width:100px">
						<option value=''>--县、区--</option>
		            </select>
		            <input type="hidden" id="proCityVal" value="${proCity}"/>
					<input type="hidden" id="proVillageVal" value="${proVillage}"/>
				</td>
			</tr>
			<tr style="height: 30px">
				<td width="150px"></td>
				<td align="left">
		            <select name="proDep" id="proDep" style="width:200px">
						<option value=''>--部&nbsp;门--</option>
		            </select>
		            <input type="hidden" id="proDepVal" value="${proDep}"/>
				</td>
			</tr>
			<tr style="height: 30px">
				<td width="150px">发布时间:</td>
				<td align="left" colspan="3">
					<input type="text" size="8" name="proStartDate" onClick="WdatePicker()" readonly="readonly" value="${proStartDate}"
					/>到<input type="text" size="8" name="proEndDate" onClick="WdatePicker()" readonly="readonly"  value="${proEndDate}"/>
				</td>
			</tr>
			<tr align="center">
				<td colspan="4" style="height:25px">
					<input type="submit" value="提交" class="btn40"/>
					<input type="button" value="关闭" class="btn40" onclick="closeSearchBar();"/>
				</td>
			</tr>
		</table>
		</form>
  </div>
  <div class='sub-con${type == "2" ? " cur-sub-con" : ""}'>
  <form method="post" action="<%=request.getContextPath()%>/info/adSearchCom/${id}">
	<table style="text-align: center">
		<tr style="height: 30px">
			<td width="150px">企业名称:</td>
			<td colspan="3" width="400px" align="left"><input type="text" size="48" name="comName" value="${comName}"/></td>
		</tr>
		<tr style="height: 30px">
			<td width="150px">企业资质名称:</td>
			<td colspan="3" align="left"><input type="text" size="48" name="qualification" value="${qualification}"/></td>
		</tr>
		<tr style="height: 30px">
			<td width="150px">法人代表:</td>
			<td colspan="3" align="left"><input type="text" size="48" name="legalRepresentative" value="${legalRepresentative}"/></td>
		</tr>
		<tr style="height: 30px">
			<td width="150px">营业执照注册号:</td>
			<td colspan="3" align="left"><input type="text" size="48" name="busLicRegNo" value="${busLicRegNo}"/></td>
		</tr>
		<tr style="height: 30px">
			<td width="150px">组织机构代码:</td>
			<td colspan="3" align="left"><input type="text" size="48" name="orgCode" value="${orgCode}"/></td>
		</tr>
		<tr style="height: 30px">
			<td width="150px">企业类型:</td>
			<td colspan="3" align="left"><input type="text" size="48" name="comType" value="${comType}"/></td>
		</tr>
		<tr style="height: 30px">
			<td width="150px">发布部门:</td>
			<td align="left" colspan="3">
	            <select name="comCity" id="comCity" onchange="comGetVillageNameAndDep()">
					<option value=''>--市、州--</option>
					<option value='510000'>省级</option>
	        	</select>
	        	<select name="comVillage" id="comVillage" onchange="comGetVillageDep()" style="width:100px">
					<option value=''>--县、区--</option>
	            </select>
	            <input type="hidden" id="comCityVal" value="${comCity}"/>
				<input type="hidden" id="comVillageVal" value="${comVillage}"/>
			</td>
		</tr>
		<tr style="height: 30px">
			<td width="150px"></td>
			<td align="left">
	            <select name="comDep" id="comDep" style="width:200px">
					<option value=''>--部&nbsp;门--</option>
	            </select>
	            <input type="hidden" id="comDepVal" value="${comDep}"/>
			</td>
		</tr>
		<tr style="height: 30px">
			<td width="100px">发布时间:</td>
			<td align="left" colspan="3">
				<input type="text" size="8" name="comStartDate" onClick="WdatePicker()" readonly="readonly" value="${comStartDate}"
				/>到<input type="text" size="8" name="comEndDate" onClick="WdatePicker()" readonly="readonly" value="${comEndDate}"/>
			</td>
		</tr>
		<tr align="center">
			<td colspan="4" style="height:25px">
				<input type="submit" value="提交" class="btn40"/>
				<input type="button" value="关闭" class="btn40" onclick="closeSearchBar();"/>
			</td>
		</tr>
	</table>
  </form>
  </div>
  <div class='sub-con${type == "3" ? " cur-sub-con" : ""}'>
  <form method="post" action="<%=request.getContextPath()%>/info/adSearchPer/${id}">
	<table style="text-align: center">
		<tr style="height: 30px">
			<td width="150px">人员名称:</td>
			<td colspan="3" width="400px" align="left"><input type="text" size="48" name="perName" value="${perName}"/></td>
		</tr>
		<tr style="height: 30px">
			<td width="150px">人员证书名称:</td>
			<td colspan="3" align="left"><input type="text" size="48" name="cerType" value="${cerType}"/></td>
		</tr>
		<tr style="height: 30px">
			<td width="150px">注册编号:</td>
			<td align="left" colspan="3"><input type="text" size="17" name="regNo" value="${regNo}"/></td>
		</tr>
		<tr style="height: 30px">
			<td width="150px">证书编号:</td>
			<td align="left" colspan="3"><input type="text" size="17" name="cerNo" value="${cerNo}"/></td>
		</tr>
		<tr style="height: 30px">
			<td width="150px">发布部门:</td>
			<td align="left" colspan="3">
	            <select name="perCity" id="perCity" onchange="perGetVillageNameAndDep()">
					<option value=''>--市、州--</option>
					<option value='510000'>省级</option>
	        	</select>
	        	<select name="perVillage" id="perVillage" onchange="perGetVillageDep()" style="width:100px">
					<option value=''>--县、区--</option>
	            </select>
	            <input type="hidden" id="perCityVal" value="${perCity}"/>
				<input type="hidden" id="perVillageVal" value="${perVillage}"/>
			</td>
		</tr>
		<tr style="height: 30px">
			<td width="150px"></td>
			<td align="left">
	            <select name="perDep" id="perDep" style="width:200px">
					<option value=''>--部&nbsp;门--</option>
	            </select>
	            <input type="hidden" id="perDepVal" value="${perDep}"/>
			</td>
		</tr>
		<tr style="height: 30px">
			<td width="150px">发布时间:</td>
			<td align="left" colspan="3">
				<input type="text" size="8" name="perStartDate" onClick="WdatePicker()" readonly="readonly" value="${perStartDate}"
				/>到<input type="text" size="8" name="perEndDate" onClick="WdatePicker()" readonly="readonly"  value="${perEndDate}"/>
			</td>
		</tr>
		<tr align="center">
			<td colspan="4" style="height:25px">
				<input type="submit" value="提交" class="btn40"/>
				<input type="button" value="关闭" class="btn40" onclick="closeSearchBar();"/>
			</td> 
		</tr>
	</table>
  </form>
  </div>
  <div class='sub-con ${type == "4" ? " cur-sub-con" : ""}'>
  <form method="post" action="<%=request.getContextPath()%>/info/adSearchBev/${id}">
	<table style="text-align: center">
		<tr style="height: 30px">
			<td width="150px">企业/人员行为:</td>
			<td colspan="3" width="400px" align="left"><input type="text" size="48" name="bevTitle" value="${bevTitle}"/></td>
		</tr>
		<tr style="height: 30px">
			<td width="150px">企业/人员名称:</td>
			<td colspan="3" align="left"><input type="text" size="48" name="targetName" value="${targetName}"/></td>
		</tr>
		<tr style="height: 30px">
			<td width="150px">发布部门:</td>
			<td align="left" colspan="3">
	            <select name="bevCity" id="bevCity" onchange="bevGetVillageNameAndDep()">
					<option value=''>--市、州--</option>
					<option value='510000'>省级</option>
	        	</select>
	        	<select name="bevVillage" id="bevVillage" onchange="bevGetVillageDep()" style="width:100px">
					<option value=''>--县、区--</option>
	            </select>
	            <input type="hidden" id="bevCityVal" value="${bevCity}"/>
				<input type="hidden" id="bevVillageVal" value="${bevVillage}"/>
			</td>
		</tr>
		<tr style="height: 30px">
			<td width="150px"></td>
			<td align="left">
	            <select name="bevDep" id="bevDep" style="width:200px">
					<option value=''>--部&nbsp;门--</option>
	            </select>
	            <input type="hidden" id="bevDepVal" value="${bevDep}"/>
			</td>
		</tr>
		<tr style="height: 30px">
			<td width="100px">发布时间:</td>
			<td align="left" colspan="3">
				<input type="text" size="8" name="bevStartDate" onClick="WdatePicker()" readonly="readonly" value="${bevStartDate}"
				/>到<input type="text" size="8" name="bevEndDate" onClick="WdatePicker()" readonly="readonly" value="${bevEndDate}"/>
			</td>
		</tr>
		<tr align="center">
			<td colspan="4" style="height:25px">
				<input type="submit" value="提交" class="btn40"/>
				<input type="button" value="关闭" class="btn40" onclick="closeSearchBar();"/>
			</td>
		</tr>
	</table>
  </form>
  </div>
  </div>
</div>
</div>
